import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import Element from 'element-ui';
import '@/assets/theme/index.css';
import dayjs from 'dayjs'; //时间处理
import '@/icons'; //增加svgIcon的使用
import '@/assets/styles/index.scss' //公共样式
import validate from '@/utils/validate.js' //表单校验
import '@/components/global'//增加全局通用组件

import '@/utils/dict' //引入字典


Vue.config.productionTip = false;
Vue.use(Element);

//时间格式化
Vue.prototype.$dayjs = dayjs;
//校验
Vue.prototype.$validate = validate;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount('#app');
